﻿function CategoryViewModel(model) {
    var selfModel = this;
    var isMain = true;

    selfModel.Controller = "Category";
    selfModel.StartPage = selfModel.Controller + "Info";

    ko.mapping.fromJS(model, {}, selfModel);

    selfModel.prototype = new CRUDViewModel(selfModel);

    selfModel.Init(isMain);
}

